<template>
  <div class="formBox">
    <textarea name="name" cols="100" rows="8"></textarea>
    <button @click="send">发送</button>
  </div>
</template>

<script setup>
function send(){
  this.$emit('up',this.text)
}
</script>